<script>
/**
 * @name frequently-used
 * @desc 常用的分类
 */

import CategoryItem from '@/components/category-item'
import ico from '@/assets/icons/bbb.png'

export default {
  name: 'frequently-used',
  components: { CategoryItem },
  data: () => ({ ico })
}
</script>

<template>
  <div :class="$sty.container">
    <div :class="$sty.content">
      <category-item
        v-for="(item,index) in 6"
        :key="index"
        :ico="ico"
      />
    </div>
  </div>
</template>

<style lang="scss" module>
.container {
  padding: $content-box-padding;
  background: linear-gradient(
    transparent 0%,
    transparent 40%,
    #fff 40%,
    #fff 100%
  );
}

.content {
  @extend %with-shadow;
  display: flex;
  flex-wrap: wrap;
  padding-top: $content-box-padding;
  padding-left: $content-box-padding;
  padding-right: $content-box-padding;
  border-radius: $box-radius;
  background-color: #fff;
}
</style>

